package net.mapbb.main;

import android.support.v4.view.ViewPager;

import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.googlecode.androidannotations.annotations.AfterViews;
import com.googlecode.androidannotations.annotations.EActivity;
import com.viewpagerindicator.LinePageIndicator;
import com.viewpagerindicator.PageIndicator;

@EActivity
public class NewActivity extends SherlockFragmentActivity {

    ViewPager guidePager;
    PageIndicator guidePageIndicator;
	
	@AfterViews
	public void initialize(){
        setContentView(R.layout.guide);

        guidePager = (ViewPager)findViewById(R.id.guidePager);
        guidePager.setAdapter(new GuidePagerAdapter(getSupportFragmentManager()));

        guidePageIndicator = (LinePageIndicator)findViewById(R.id.guideIndicator);
        guidePageIndicator.setViewPager(guidePager);
	}
}

